package com.tfswx.jcyw.ruleenginedesigner.dao;

import com.tfswx.jcyw.ruleenginedesigner.dao.model.GzyqXtBds;
import com.tfswx.jcyw.ruleenginedesigner.dto.gzgl.BdsListByGzbmQueryOutputDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Ricky
 * @date 2021/5/12
 */
@Mapper
public interface GzyqXtBdsMapper {
    /**
     * insert record to table
     * @param gzyqXtBds the gzyqXtBds
     * @return insert count
     */
    int insert(GzyqXtBds gzyqXtBds);

    List<BdsListByGzbmQueryOutputDTO> queryBdsListByGzbm(GzyqXtBds gzyqXtBds);

    int update(GzyqXtBds gzyqXtBds);

    int delete(GzyqXtBds gzyqXtBds);

    GzyqXtBds queryBdsByBdsbm(GzyqXtBds gzyqXtBds);
}
